package com.rjkj.medicalwaste.bean

data class WaitHandoverGarbageBean(
    var myCheck:Boolean = false,
    val garbageBoxChangePlace: String,
    val garbageBoxChangeTime: String,
    val garbageBoxDeviceSN: String,
    val garbageBoxPosition: String,
    val garbageBoxQRCode: String,
    val garbageBoxStatus: String,
    val garbageBoxTime: String,
    val garbageBoxType: String,
    val garbageBoxWeight: Double,
    val garbageCNT: Int,
    val hospitalId: String
){
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as WaitHandoverGarbageBean

        if (garbageBoxQRCode != other.garbageBoxQRCode) return false

        return true
    }

    override fun hashCode(): Int {
        return garbageBoxQRCode.hashCode()
    }
}